X: 1, 2, 3.
L: [111], [112], [113], [11], [121], [122], [123], [12], [131], [132],
   [133], [13], [1], [211], [212], [213], [21], [221], [222], [223],
   [22], [231], [232], [233], [23], [2], [311], [312], [313], [31],
   [321], [322], [323], [32], [331], [332], [333], [33], [3], *[].

member(X,L)
1,[1]
3,[3]
1,[11]
1,[13]
3,[13]
1,[31]
3,[31]
3,[33]
1,[111]
1,[113]
3,[113]
1,[131]
3,[131]
1,[133]
3,[133]
1,[311]
3,[311]
1,[313]
3,[313]
1,[331]
3,[331]
3,[333]
;
1,[]
1,[3]
1,[33]
1,[333]
3,[]
3,[1]
3,[11]
3,[111]
1,[2]
1,[22]
1,[23]
1,[32]
1,[222]
1,[223]
1,[232]
1,[233]
1,[322]
1,[323]
1,[332]
.
*components(L,X,L) #--/-##
[1],1,[]
[2],2,[]
[3],3,[]
[11],1,[1]
[12],1,[2]
[13],1,[3]
[21],2,[1]
[22],2,[2]
[23],2,[3]
[31],3,[1]
[32],3,[2]
[33],3,[3]
[111],1,[11]
[112],1,[12]
[113],1,[13]
[121],1,[21]
[122],1,[22]
[123],1,[23]
[131],1,[31]
[132],1,[32]
[133],1,[33]
[211],2,[11]
[212],2,[12]
[213],2,[13]
[221],2,[21]
[222],2,[22]
[223],2,[23]
[231],2,[31]
[232],2,[32]
[233],2,[33]
[311],3,[11]
[312],3,[12]
[313],3,[13]
[321],3,[21]
[322],3,[22]
[323],3,[23]
[331],3,[31]
[332],3,[32]
[333],3,[33]
.

member
2,[]: -
3,[121]: -
3,[23]: +
3,[232]: +
.
